function func(name:string, date:Date):string {
    return `my name is ${name}, today is : ${date.toDateString()}`;
}

let info = func("xxx", new Date());
console.log(info);

let msg:string = "xxx";

let arr:string[] = ["aa", "bb", "cc"];

arr.forEach(function (name:string) {
    console.log(name.toUpperCase());
});
